Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduces Decay Computation and Submission - Pre-Confirmations Decay (Part 3 of 3) #38

Merged
merged 14 commits into from
Mar 20, 2024

Conversation

ckartik
Copy link
Contributor

@ckartik ckartik commented Mar 4, 2024

  • Adds the computation of Decay based on New Commitment Timestamps and Timestamp of Settlement Layer block that includes the Commitment.
  • Updates Smart-Contract call to insert the decay percentage as part of the parameters to ensure decayed reward or slashing

pkg/updater/updater.go Outdated Show resolved Hide resolved
pkg/updater/updater_test.go Outdated Show resolved Hide resolved
pkg/updater/updater.go Outdated Show resolved Hide resolved
pkg/updater/updater.go Show resolved Hide resolved
@ckartik ckartik force-pushed the ckartik/update-oracle-with-decay branch from 8760b20 to 59441ba Compare March 20, 2024 16:15
@ckartik ckartik merged commit b96ed51 into main Mar 20, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants